//
//  LGShopTableViewCell.m
//  LuxuryGoods
//
//  Created by 纳里健康 on 2018/5/25.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "LGShopTableViewCell.h"
#import "LGShopModel.h"
@implementation LGShopTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setShopCellWithModel:(LGShopModel *)model
{
    self.itemImage.image = [UIImage imageNamed:model.goods_img];
    
    NSString *shoose = model.chooseOrNot == NO ? @"tab_normal" : @"tab_selected";
    
    self.shoseImage.image = [UIImage imageNamed:shoose];
    
    self.detailLabel.text = model.original_cost;
    
    self.peiceLabel.text = [NSString stringWithFormat:@"￥%.2f",model.price];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
